import reactRefresh from '@vitejs/plugin-react-refresh'
import { defineConfig } from 'vite'
import legacy from '@vitejs/plugin-legacy'

export default defineConfig({
  build: {
    base: ".",
    target: "es2015"
  },
  plugins: [
    legacy({
      targets: ['defaults', 'not IE 11']
    })
  ]
  // plugins: [reactRefresh()]
})